<?php use_stylesheet('teams.css') ?>
<h1>Pronos teams List</h1>
  
  
<div id="teams">
  <table class="teams">
    <?php foreach ($pronos_teams as $i => $pronos_team): ?>
      <tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
	    <td><img src="/pronos/images/teams/<?php echo strtolower($pronos_team->getCode()) ?>.gif" /></td>
        <td class="position"><?php echo $pronos_team->getCode() ?></td>
		<td class="position">
		  <a href="<?php echo url_for('team/show?id='.$pronos_team->getId()) ?>">
            <?php echo $pronos_team->getName() ?>
          </a>
		</td>
        <td class="company">
          <a href="<?php echo url_for('group/show?id='.$pronos_team->getPronosGroup()->getId()) ?>">
            <?php echo $pronos_team->getPronosGroup()->getName() ?>
          </a>
        </td>
      </tr>
    <?php endforeach ?>
  </table>
</div>  
